// components/gh-dialog/gh-dialog.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  lifetimes: {
    attached: function () {
      let app = getApp();
      console.log(app.globalData.navHeight);
      this.setData({
        navH: 200//app.globalData.navHeight
      })
    }
  },
  /**
   * 组件的方法列表
   */
  methods: {
    test() {
      console.log('asdadas');
    }
  }
})
